<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@ include file="common.jsp"%>
<title>我的桌面</title>
</head>
<body>
<div class="page-container">
	<p class="f-20 text-success">欢迎使用FirstApp.Me管理端 <span class="f-14">v1.0</span></p>
	<p>登录次数：${operator.loginCounts} </p>
	<p>上次登录IP：${operator.lastLoginIP}  上次登录时间：<fmt:formatDate value="${operator.lastLoginTime}" type="both" pattern="yyyy-MM-dd HH:mm:ss" /></p>
	<table class="table table-border table-bordered table-bg">
		<thead>
			<tr>
				<th colspan="7" scope="col">信息统计</th>
			</tr>
			<tr class="text-c">
				<th>统计</th>
				<th>充值卡</th>
				<th>充值积分</th>
				<th>支付订单</th>
				<th>订单收入</th>
				<th>发布话题</th>
				<th>新增用户</th>
			</tr>
		</thead>
		<tbody>
			<tr class="text-c">
				<td>总数</td>
				<td>${statistics.totalCardRechargedCounts}</td>
				<td>${statistics.totalRechargedPoints}</td>
				<td>${statistics.totalOrderPayedCounts}</td>
				<td>${statistics.totalOrderPayedPoints}</td>
				<td>${statistics.totalTopicCounts}</td>
				<td>${statistics.totalMemberCounts}</td>
			</tr>
			<tr class="text-c">
				<td>今日</td>
				<td>${statistics.todayCardRechargedCounts}</td>
				<td>${statistics.todayRechargedPoints}</td>
				<td>${statistics.todayOrderPayedCounts}</td>
				<td>${statistics.todayOrderPayedPoints}</td>
				<td>${statistics.todayTopicCounts}</td>
				<td>${statistics.todayMemberCounts}</td>
			</tr>
			<tr class="text-c">
				<td>昨日</td>
				<td>${statistics.yesterdayCardRechargedCounts}</td>
				<td>${statistics.yesterdayRechargedPoints}</td>
				<td>${statistics.yesterdayOrderPayedCounts}</td>
				<td>${statistics.yesterdayOrderPayedPoints}</td>
				<td>${statistics.yesterdayTopicCounts}</td>
				<td>${statistics.yesterdayMemberCounts}</td>
			</tr>
			<tr class="text-c">
				<td>本周</td>
				<td>${statistics.weekCardRechargedCounts}</td>
				<td>${statistics.weekRechargedPoints}</td>
				<td>${statistics.weekOrderPayedCounts}</td>
				<td>${statistics.weekOrderPayedPoints}</td>
				<td>${statistics.weekTopicCounts}</td>
				<td>${statistics.weekMemberCounts}</td>
			</tr>
			<tr class="text-c">
				<td>本月</td>
				<td>${statistics.monthCardRechargedCounts}</td>
				<td>${statistics.monthRechargedPoints}</td>
				<td>${statistics.monthOrderPayedCounts}</td>
				<td>${statistics.monthOrderPayedPoints}</td>
				<td>${statistics.monthTopicCounts}</td>
				<td>${statistics.monthMemberCounts}</td>
			</tr>
		</tbody>
	</table>
	<table class="table table-border table-bordered table-bg mt-20">
		<thead>
			<tr>
				<th colspan="2" scope="col">服务器信息</th>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td>服务器IP地址</td>
				<td>${serverInfo.ip}</td>
			</tr>
			<tr>
				<td>服务器域名</td>
				<td>${serverInfo.domain}</td>
			</tr>
			<tr>
				<td>服务器端口 </td>
				<td>${serverInfo.port}</td>
			</tr>
			<tr>
				<td>操作系统 </td>
				<td>${serverInfo.os}</td>
			</tr>
			<tr>
				<td>内存总量 </td>
				<td>${serverInfo.RAMTotal}</td>
			</tr>
			<tr>
				<td>当前内存使用量</td>
				<td>${serverInfo.RAMUsed}</td>
			</tr>
			<tr>
				<td>当前内存剩余量</td>
				<td>${serverInfo.RAMRest}</td>
			</tr>
			<tr>
				<td>JVM可以使用的总内存 </td>
				<td>${serverInfo.JVM_RAM_Total}</td>
			</tr>
			<tr>
				<td>JVM可以使用的剩余内存</td>
				<td>${serverInfo.JVM_RAM_Rest}</td>
			</tr>
			<tr>
				<td>JVM可以使用的处理器个数</td>
				<td>${serverInfo.JVM_CPU_CanUsed}</td>
			</tr>
			<tr>
				<td>Java的运行环境版本</td>
				<td>${serverInfo.jdkVersion}</td>
			</tr>
		</tbody>
	</table>
</div>
<footer class="footer mt-20">
	<div class="container">
		<p>
			Copyright &copy;2015-2017 FirstApp.Me v1.0 All Rights Reserved.<br>
			本后台系统由<a href="http://www.h-ui.net/" target="_blank" title="H-ui前端框架">H-ui前端框架</a>提供前端技术支持
		</p>
	</div>
</footer>

</body>
</html>